Fabrication of 3D polymer microstructures using electron beam lithography and nanoimprinting technologies