Plugin estimators for selective classification with out-of-distribution detection