Photogeneration of charge carriers in blends of conjugated polymers and semiconducting nanoparticles