Experimental study of structure functions and sum rules in charge-changing interactions of neutrinos and antineutrinos on nucleons