Capture of a Dirac monopole by a magnetic dipole