Photoeffects in cobalt doped pyrite (FeS2) films