Phenyl-bridged polysilsesquioxane positive and negative resist for electron beam lithography