Charge transfer and “band lineup” in molecular electronic devices: A chemical and numerical interpretation