Nanocomposite resists for electron beam nanolithography