Evidence for reduced immune gene diversity and activity during the evolution of termites