Evolution of mechanical properties of kerogen with thermal maturity