James Cook formally claims eastern Australia for Great Britain, naming it New South Wales.