Nanometer scale electron beam lithography in inorganic materials