Development of a predictive score for potentially avoidable hospital readmissions for general internal medicine patients