Controlled growth and electrical properties of heterojunctions of carbon nanotubes and silicon nanowires