X-ray diffraction structural analysis of Langmuir-Blodgett films using a pattern recognition approach