Spectral broadening in quantum dots-sensitized photoelectrochemical solar cells based on CdSe and Mg-doped CdSe nanocrystals