Photoresponsive Behavior of Heterocyclic Azo Polymers with Various Functional Groups