Structure and photovoltaic activity of cupric oxide-based thin film solar cells