X-ray diffraction studies of the structure of molybdenum sulphide thin films