Functionalized gamma-lactones via intramolecular nitrile oxide cycloaddition