acids generally release h2 gas when they react with