New relation betweenB(E2)values and excitation energies