Dye- and quantum dot-sensitized solar cells based on nanostructured wide-bandgap semiconductors via an integrated experimental and modeling study