Medication errors in nursing homes: the role of nurse and social worker knowledge