Chiral symmetry restoration and quark deconfinement at large densities and temperature