X-ray diffraction analysis of twin walls in ferroelastic YBA2CU3O7