Fabrication of gratings on curved substrates using electron-beam lithography | Synapse