Photochromic liquid crystalline polymers. Main chain and side chain polymers containing azobenzene mesogens