What are some ways in which human activities can affect the biodiversity of an ecosystem?