Using the κ-exponential to deform Gumbel and Gompertz probability distributions