Factors affecting the formation of NDMA in water and occurrence