Analysis of ionic conductance of carbon nanotubes