An experimental investigation of the effects of corrosion inhibitor on the mechanical properties of reservoir rock