Quality management practices and their effects on the performance of public hospitals