Locating sensors to observe network arc flows: Exact and heuristic approaches