Orientation of a photo-sensitive polymeric monolayer studied by second-harmonic generation