State, Cook County use similar arguments to defend assault weapon bans