Quantitative determination of gypsum in sedimentary rocks by thermal analysis