Energy dissipation in single-domain ferromagnetic nanoparticles: Dynamical approach