Nanoscale geochemical and geomechanical characterization of organic matter in shale