Evidence of dynamical dipole excitation in the fusion-evaporation of the 40Ca +152Sm heavy system