Effects of group size on disease transmission risk and immune strategies in ants