Estimation of the generalized Pareto distribution