A generalized VMD mechanism for radiative decays of cc mesons