Starshapedness and convexity in Carnot groups and geometry of Hormander vector fields