who became president after jfk was shot?