Women are more likely to experience depression in midlife if they have a family history of depression, especially if they had depression earlier in life