A study by the University of Leeds has for the first time conclusively shown that having diabetes increases the risk of death following heart attack.