Biases in the estimation of velocity dispersions and dynamical masses for galaxy clusters