Numerical approximations for flow of viscoplastic fluids in a lid-driven cavity