Synthesis of shikimic acid and its phosphonate analogue via knoevenagel condensation