who became president when jfk was shot?