Experimental study of single-pion production in charged-current neutrino interactions