From 1843 to 1949, the typical British consul’s time in China was beset by social isolation, mental illness, alcoholism and disease, often in ‘alien, remote, and hazardous surroundings’