Patients waiting longer at NSW hospitals