The use of an emergency ward by patients with depressive or anxiety disorders: a one year follow-up study