Shell structure in quark systems