The bacterial community structure and N-cycling gene abundance in response to dam construction in a riparian zone.