Determination of molecular ordering at a buried interface and the effect of interfacial ordering on thin film