Memoir writing can help transform pain and anguish into something integrated and beautiful.