A study of nearly 300,000 in the U.K. found such factors as a healthy diet, regular physical activity and low sedentary activity could help reduce risk of depression.