Method and apparatus for atrial arrhythmia episode detection