Which of this group of animals made the first transition from aquatic to the terrestrial mode of life?