Experimental study of opposite-sign dimuons produced in neutrino and antineutrino interactions