Quadrupole phonons in the cadmium isotopes