Statistics for Monte Carlo methods for the estimation of value-at-risk and related risk measures