Helmholtz spacing of thin rectangular magnetic field coils.