Combined XANES and EXAFS study on the bonding of methyl mercury to thiol groups in soil and aquatic organic matter