Britain's government has revoked the accreditation of a Russian diplomat in response to Moscow's decision to expel a British diplomat last month over spying allegations.