Equilibrium and nonequilibrium computer simulation studies of polar fluids and nonpolar mixtures