Robust distance-based generalized linear models: a new tool for classification