Cupric and cuprous oxide by reactive ion beam sputter deposition and the photosensing properties of cupric oxide metal–semiconductor–metal Schottky photodiodes