Virus dynamics and their interactions with microbial communities and ecosystem functions in engineered systems