ENH Function auc_score should throw an error when y_true doesn't contain two unique class values

This is my proposed fix for issue #1722.