Biological invasions and the dynamics of endemic diseases in freshwater ecosystems