Success of cardiopulmonary resuscitation after heart attack in hospital and outside hospital