Quark degrees of freedom in nuclear matter