Raman measurements and lattice dynamics in the high Tc superconductor YBa2Cu3O7