Membrane potential and ion concentration stability conditions for a cell with a restricted extracellular space