Cross-modal multiscale multi-instance learning for long-term ECG classification