What substances are produced when an acid reacts with a base?.