A retired Hong Kong police superintendent and a former UK Border Force official were found guilty of spying for Chinese intelligence on British soil.