who served the shortest term as a president in the us?