Hospital outcomes in major teaching, minor teaching, and nonteaching hospitals in New York state