The metamorphosis of a missionary: William Wirt Lockwood and the Shanghai Young Men's Christian Association