Atomic arrangement of van der Waals heterostructures using X-ray scattering and crystal truncation rod analysis