Generalized flux equations for osmotic transport through charged membranes