Proximity effect in electron beam lithography