Role of surface electronic structure in thin film molecular ordering.