Germany warns of terrorist threat