Topological Phase Transition in Biological Ecosystems