In-plane x-ray diffraction for characterization of monolayer and few-layer transition metal dichalcogenide films