Comparative study of photo-induced variations of X-ray diffraction and refractive index in photo-thermo-refractive glass