New Zealand beat Bangladesh in third T20I