Mechanisms of Excitation of Luminescence in Nitrogen Gas by Fast Electrons