Microscopic dynamics and the dynamic heterogeneity of motion of polar molecules in ionic liquids