Apparatus for spreading granular material on, or sweeping or coating the surfaces of, pieces or sheets of dough