Depression Linked to Obesity and Anorexia, Study Says