Inertial effects in the dielectric relaxation of an assembly of molecules containing rotating polar groups