Synchronisation of vascular ultrasonic scans with heart activity using ECG signals