The ecology and evolution of colony-size variation