Single-gene classifiers and outlier-resistant detection of differential expression for two-group and survival problems