process where water is allowed to pass through a membrane