X-ray study of structural reorganization in phthalocyanine containing Langmuir–Blodgett heterostructures