Method and apparatus for purifying harmful gas by irradiation with gas lasers and electron beams