Anharmonic effects of quadrupole oscillations of spherical nuclei