Automated cardiopulmonary resuscitation device