Analysis of capillary filling in nanochannels with electroviscous effects