Superconductor-Insulator Transition Induced By Electrostatic Charging In High Temperature Superconductors.