A bijection between words and multisets of necklaces