Raman spectroscopy of high-temperature superconducting YBa2Cu3Ox single crystals and films