Sociodemographic determinants in the hospitalization decision: evaluation of an emergency department interhospital transfer policy