what happens when acid reacts with metal carbonate​