One-dimensional magnetic flux microscope based on the dc superconducting quantum interference device