An optical technique for measurement of semiconductor surface electric fields