how does lithium work for the treatment of depression