Complications of cardiopulmonary resuscitation in non-traumatic cases and factors affecting complications