Capture of arsenic by pyrite in near-shore marine sediments