Passivation of defects in polycrystalline Cu2O thin films by hydrogen or cyanide treatment