Method for the separation of water from a reaction mixture using a hydroxy sodalite membrane