Samardzija pitches 3 sharp innings, Cubs beat KC