An effective-charge model for impurity filtration of liquids by means of nanostructured channels