In-hospital cardiopulmonary resuscitation: patient, arrest and resuscitation factors associated with survival