What did James cook call the to main islands before he asked the maoris?