Teaching of cardiopulmonary resuscitation by medical students