On the occurrence of some finite groups in the central automorphism group of finite groups