Artificial staggered magnetic field for ultracold atoms in optical lattices