The time-reversal- and parity-violating nuclear potential in chiral effective theory