SnRK2 protein kinases represent an ancient system in plants for adaptation to a terrestrial environment