Mechanism for the transport of ammonia within carbamoyl phosphate synthetase determined by molecular dynamics simulations.