Events during transmission of a nerve impulse