Effect of an unstirred layer on ion transport through a membrane