Exploring genes regulating insect physiology and behaviour: polyethism, phase transition and reproductive success in insects