Patients in most deprived areas likely to have longer waits for care, data suggest