who became the us president when kenedy was shot?