Latham, Taylor guide N Zealand to 6-wicket win over India