Electrodynamic properties of oxygen reduced YBa2Cu3O7−x thin films in the THz frequency regime