The role of shear strain in the graphitization of a high-volatile bituminous and an anthracitic coal