Spin phonon coupling in hexagonal multiferroic YMnO3.