Analysis of source rocks, reservoir rocks and cap rocks by combined thermal extraction and pyrolysis—gas chromatography