Chemical synthesis of shikimic acid and its analogues