Changes in terrestrial biota before the Permian-Triassic ecological crisis