Towards a unified theory of cooperative breeding: the role of ecology and life history re-examined