Effects of parity nonconservation in a molecule of oxygen