Tamagawa numbers of smooth connected groups