Electrical and photoelectrical characterization of an organic–inorganic heterojunction based on quinoline yellow dye