Riverine antibacterial resistance gradient determined by environmental factors