On the phase diagram of finite-temperature QCD in the presence of dynamical quarks