Dynamics of light-pattern formation of polarized laser beams propagating through sodium vapor