Desorption-induced shear failure of coal bed seams during gas depletion