Serbia has raised its terror threat to the highest level after a knife attack on a police guard outside the Israeli Embassy in Belgrade.