Interfacial electronic structures in an organic double-heterostructure photovoltaic cell