Applications of electroreflectance in three-media model