Optical absorption and redox kinetics of YBa2Cu3O7 − δ thin films studied by optical in-situ spectroscopy