In the reaction 2H₂ + O₂ → 2H₂O, if 4.0 mol of H₂ react with excess O₂, how many moles of H₂O are produced?