Spin and Lattice Dynamics, and Spin-phonon Interactions in Transition Metal Oxides