Quantitative X-ray diffraction analysis of mineral and organic phases in organic-rich rocks