Numerical models of force-free black-hole magnetospheres