Analysis of the uncertainty in the measurement of electron densities in plasmas using the wave cutoff method