An Embedding Multitask Neural Network for Efficient Arrhythmia Detection