Kremlin warns of foreign espionage as scientists chafe under new restrictions