Centroid-based deep metric learning for speaker recognition