Magnetite and green rust: synthesis, properties, and environmental applications of mixed-valent iron minerals