Thermoadaptation of methanogenic bacteria by intracellular ion concentration