Prediction of high-pressure adsorption of CH4 and CO2 in shale