Raman scattering studies of surface space charge layers and Schottky barrier formation in InP