who served the shortest term as an american president?