Credit risk management through robust generalized linear models