Evolution of the radial structure of a negative corona during its transformation into a glow discharge and a spark