Autogenic and climate-driven shifts in mid- to high-latitude peatlands