Photogeochemistry of minerals under anoxic conditions