Chiral symmetry restoration and deconfinement in the CPN model with Fermions