COMPLEX COLONY STRUCTURE IN SOCIAL INSECTS: I. ECOLOGICAL DETERMINANTS AND GENETIC CONSEQUENCES