A photoacid generator integrated terpolymer for electron beam lithography applications: sensitive resist with pattern transfer potential