Quark-flavored scalar dark matter