Use of the transthoracic impedance to determine CPR quality parameters