Regiochemistry in the synthesis of 2,3,8,8a-tetrahydro-7H-oxazolo[3,2-a]pyridines