Shell-model-based deformation analysis of light cadmium isotopes