Infrared and Raman spectra of the new superconducting cuprate perovskites MBa2Cu3O7, M =Nd, Dy, Er, Tm