The catenary and tame degree in finitely generated commutative cancellative monoids