Spending just 42 minutes a day in bright daylight may help lower your risk of dementia by 17%, according to a new study.