These habits can cut the risk of depression in half, a new study finds