MacWilliams identities for $m$-tuple weight enumerators