49ers smother listless Giants, secure consecutive easy wins on brutal New Jersey trip