who served the shortest term as president?