Influence of Mg2+ Ions on the Formation of Green Rust Compounds in Simulated Marine Environments