China’s security agencies claim foreigner collected intelligence related to country for British spying