Distinct structural features of Rex-family repressors to sense redox levels in anaerobes and aerobes.