Measurement of ?m²32 and sin²?23 using muon neutrino and antineutrino beams in the NOvA experiment