Interaction of pH stress and demography leads to convergent evolution in the protist Tetrahymena thermophila