treatment for hysteria in 1800s