Estimation of parametric and nonparametric models for univariate claim severity distributions - an approach using R