Mechanisms governing the fate of mercury in coal-fired power systems