Interface engineering and characterization in dye and quantum dot-sensitized solar cells