Sociogenetic responses to ecological variation in the ant Myrmica punctiventris are context dependent