Synthesis of 3-methoxycarbonylmethyl derivatives of dihydroquinolone and dihydrochromenone.