Poor outcome and death among youth, young adults, and midlife adults with eating disorders: an investigation of risk factors by age at assessment.