what years did john f kennedy serve as president?