what us president stayed in office for the shortest amount of time?