Photochromic properties of polyimide and polysiloxane azopolymers