Raman and infrared results on YBa2Cu3O7-x type materials