Weight-loss jabs could improve mental health, study suggests