The distribution of ions between a bulk electrolyte solution and charged microcapillaries in solvents with low dielectric constant