Gas exchange, hypercarbia and acid-base balance, paleoecology, and the evolutionary transition from water-breathing to air-breathing among vertebrates