Precautionary measure follows attacks on diplomatic and consular missions abroad that caused serious damage, says foreign minister