Automated detection of obstructive sleep apnoea at different time scales using the electrocardiogram | Synapse