A flexible synthesis of some polysubstituted cyclopentanes from quinic acid