Plotting receiver operating characteristic and precision-recall curves from presence and background data