George James Macdonald — New Zealand naval officer, civil engineer and inventor