Mapping molecular conformation and orientation of polyimide surfaces for homeotropic liquid crystal alignment by nonlinear optical spectroscopy.