Neutron–antineutron oscillations: Discrete symmetries and quark operators