Finite groups in which class preserving and central automorphisms coincide