acids react with metals carbonates