Spherical cavity expansion in porous rock considering plasticity and damage