Diffraction efficiency of a holographic grating in a liquid-crystal cell composed of asymmetrically patterned electrodes