This invention provides compounds of Formula IIwherein R1, R2, R6, X and n are as defined in the disclosure.This invention also discloses preparation of compounds of Formula II, and preparation of compounds of Formula IIIwherein R1, R2, R7, R8, R9 and n are as defined in the disclosure, using the compounds of Formula II.