Synthesis and properties of polytriazoleimide containing anthracene, pyridine and 1, 2, 3‐triazole groups and their nanocomposites with titanium dioxide