An Optimal Reject Rule for Binary Classifiers