Plastic relaxation of the transformation strain energy of a misfitting spherical precipitate: linear and power-law strain hardening