Beam-splitter switches based on zenithal bistable liquid-crystal gratings.