Electrostatics of metal-graphene interfaces: sharp p-n junctions for electron-optical applications.