Measurement of Neutrino and Antineutrino Total Charged-current Cross Sections on Carbon with MINERvA