Photoreactions and photoinduced molecular orientations of films of a photoreactive polyimide and their alignment of liquid crystals