Synthesis and electrical properties of p-type CdTe nanowires