Substantive due process limits on the duration of civil commitment for the treatment of mental illness