Some useful invariants of quark mass matrices