Multiple large-scale gene and genome duplications during the evolution of hexapods