Spending more time in green spaces may help to reduce the need for meds - study