Characteristics of general practices associated with emergency-department attendance rates: a cross-sectional study