Metagenomic insights into Cr(VI) effect on microbial communities and functional genes of an expanded granular sludge bed reactor treating high-nitrate wastewater.