Man accused of killing Kansas City police officer has criminal history