On the mechanism of photosynthetic sulfate reduction