Quality of care in contracted-out and directly provided public hospital services in South Africa: evaluation of structural aspects