Investigation of photoreaction for 2-nitrobenzofuran and its 3-methyl derivative