Self-supervised learning for atrial fibrillation detection with ECG using CNNTransformer