Nor do they doubt that the Government has a substantial interest in ensuring that persons accused of crimes are available for trials and, ultimately, for service of their sentences, or that confinement of such persons pending trial is a legitimate means of furthering that interest.