Electrically tunable two-dimensional liquid crystals gratings induced by polarization holography