Symmetrical cases of simultaneous X-ray diffraction and the Borrmann effect. I. The analysis of photoelectric absorption