New Zealand coach Steve Hansen has praised his side's mental strength following their 26-19 success over France on Saturday.