Profiling the microbial community structure and functional diversity of a dam-regulated river undergoing gravel bar restoration