Chiral symmetry restoration and deconfinement in QCD at finite temperature