Molecular dynamics study of the thermal and the density effects on the local and the large-scale motion of polymer melts: Scaling properties and dielectric relaxation