Electromagnetic fields of dipole currents