Surface charge neutralization of insulating samples in x-ray photoemission spectroscopy