Exciton-phonon interaction in 3d transition metal compounds