Smoothed M-estimators for 1-dimensional location