NSW teachers to get mental health training