Germany warns of terror threat, action being planned in Pakistan