What were some of the terms and conditions of an honorable discharge in the American Civil War?