Plate tectonics of New Zealand: insights from 3D thermomechanical modelling