San Francisco's sloppy defense leads to sweep in Arizona, caps first 0-7 road trip since 1985