Genomic adaptations to aquatic and aerial life in mayflies and the origin of insect wings