In situ stress prediction from ductile deformation of unconventional reservoir rocks and its relation to the stress dependence of permeability