Magnetite biomineralization in ferruginous waters and early Earth evolution