The invention relates to compounds of formulae (1) and (2): and pharmaceutically acceptable salts thereof for the treatment of cancer, inflammation, auto-immune diseases, diabetes and diabetic complications, infection, cardiovascular disease and ischemia-reperfusion injuries.