Improved duration-based backtesting of value-at-risk