RMS dipole moments of the valence excited states of linear polyenes