The influence of minerals on the pyrolysis of kerogens