Cross-section measurements of single pion production in charged current neutrino and antineutrino interactions