New Zealand says sorry to people abused in institutions