Photoinduced properties of “T-type” polyimides with azobenzene or azopyridine moieties