Microfabrication of optical resonators