Sleep-disordered breathing in patients with implanted cardiac devices: validation of the ApneaScanTM algorithm and implications for prognosis