On the nilpotency and solubility of the central automorphism group of a finite group