Solution synthesized CdS nanoparticles for hybrid solar cell applications