A proof of Hörmander's theorem for sublaplacians on Carnot groups