Controlled growth of carbon nanotubes in diameter and shape using template-synthesis method