Universal Training of Neural Networks to Achieve Bayes Optimal Classification Accuracy