Elucidating the origin of external quantum efficiency losses in cuprous oxide solar cells through defect analysis