Deal done: New Zealand Greens accept ministerial portfolios