On the estimation of atomic charges by the X-ray method for some oxides and silicates