Investigation of the Electronic Structure of CdS Nanoparticles with Sum Frequency Generation and Photoluminescence Spectroscopy