Molecular dynamics study of core–shell structure from carbon nanotube and platinum nanowire