functions of mental health nurse