Environmental determinants of mating aggregations in “harem” polygynous insects