South Dakota executes man who killed guard in escape attempt