'Of friends and enemies' : the life and times of Midshipman Thomas Grey