Water quality decay and pathogen survival in drinking water distribution systems