Power cuts, dangerous waves as strong winds slam NZ