John Knatchbull: from quarterdeck to gallows