last american president to serve in the military