Phononic and electronic Raman spectroscopy of the pseudogap state in underdopedYBa2Cu3O7−x