Phases of action potential in neurons showing influx and efflux of responsible ions and refractory period