Dynamics of period-doubling bifurcation to chaos in the spontaneous neural firing patterns