China says a foreign consultant was found to be spying for Britain’s MI6