Factors affecting the survival of E. coli in a river