Quantifying the effect of thermal environment on production traits in three breeds of dairy cattle in New Zealand