Optical absorption spectroscopy study of the role of plasma chemistry in YBa2Cu3O7 pulsed laser deposition