Quantifying changes in climate variability and extremes: Pitfalls and their overcoming