Belgian authorities have prevented what they say was an imminent attack designed to kill police with raids on terror cells.