Oxygen partial pressure dependent sputtered copper oxide films for visible photodetectors