Robust regression trees based on M-estimators