Exciton-phonon interaction in mixed silver halides: Resonant Raman scattering vs photoluminescence