Robust Estimation Using the Huber Function With a Data-Dependent Tuning Constant