At least three people, including two policemen and a pedestrian, were killed when a gunman opened fire in the Belgian city of Liege.