Mid-gap trap states in CdTe nanoparticle solar cells