Phenomenological treatment of anharmonic effects in Cd isotopes