Holism and reductionism in ecology