Write a balanced chemical equation, including states of matter, to represent the acid-base reaction that occurred in the titration of hcl with naoh.