Magnetic field imaging by using magnetic force scanning tunneling microscopy