Trends in genome dynamics among major orders of insects revealed through variations in protein families