Vibronic coupling and double excitations in linear response time-dependent density functional calculations: dipole-allowed states of N2.