Regularization of the two-body problem via smoothing the potential