Confinement Effects on Photoalignment, Photochemical Phase Transition, and Thermochromic Behavior of Liquid Crystalline Azobenzene-Containing Diblock Copolymers