Optical inhomogeneity induced in glasses by electrostriction and thermal action of laser radiation