What was the climate during the permian period?