Performance Analysis and Characterization of Training Deep Learning Models on Mobile Devices