who was president during the battle of antietam?