Minimizing emissions from grid-based hydrogen production in the United States