Chapman ton powers New Zealand to seven-wicket win over Scotland