Learning Minimum Volume Sets and Anomaly Detectors from KNN Graphs