which president held office for the shortest period of time?