Custody hearings lower rates of pretrial detention, but show structural problems in Brazilian criminal justice system