NJL-model analysis of dense quark matter