James Melville of Halhill — Scottish diplomat and writer