An improved synthesis of 2-oxa-7-azaspiro[3,5]nonane and analogs as novel reagents in medicinal chemistry