Anomalies of the specific heat in the vicinity of the phase transition from isotropic liquid to nematic liquid crystal