pretrial detention impact