Gravar-mail: Time-Elastic Generative Model for Acceleration Time Series in Human Activity Recognition