Loss Functions for CNN-based Biometric Vein Recognition