Viscosity and self-diffusion coefficient of dipolar liquids