Japan apologises over Taiwan boat incident