Demographic and substance use factors related to violent and accidental injuries: results from an emergency room study