Membrane fouling mechanism transition in relation to feed water composition