Species interactions regulate the collapse of biodiversity and ecosystem function in tropical forest fragments.