Synthesis of oxetane/azetidine containing spirocycles