Modelling and experimental investigation of a novel ion exchange membrane crystallizer for magnesium recovery