Topological phases in graphitic cones