China accuses foreign consultant of spying for MI6