Diffusion and convection across heteroporous membranes: A simple macroscopic equation