A quantitative analysis of cell volume and resting potential determination and regulation in excitable cells