Mercury specation during thermal remediation and in post-treatment environments