The link between obesity and depression is related to both physical and social factors