Photoprocessing of H2S in interstellar grain mantles as an explanation for S2 in comets