Minimum Classification Error Training Incorporating Automatic Loss Smoothness Determination