a compound that changes color when it comes in contact with an acid or a base is what?