which american president held office for the shortest amount of time?