Three Russian intelligence units and 18 officers have been sanctioned, the Foreign Office says.