Finite-Temperature Chiral Transition in QCD with Quarks in the Fundamental and Adjoint Representation