Fast and precise laser beam scanning by nonperiodic grating on a binary micromirror array