Anxiety and depression are associated with unhealthy lifestyle in patients at risk of cardiovascular disease