Impact of pretrial detention falls more heavily on minorities and low-income people, new report says