Infrared and Raman spectra of the MBa2Cu3O7-type high-Tc superconductors