Spin-phonon coupling in antiferromagnetic chromium spinels