Double-dipole excitations in 40Ca