Triassic environments, climates and reptile evolution