Vortex-antivortex lattices in superconducting films with magnetic pinning arrays