Mass dependence of the static quadrupole moments of the first 2+ states in the cadmium isotopes