The photochemistry of manganese and the origin of banded iron formations