Linking community and disease ecology: the impact of biodiversity on pathogen transmission