Embedding Cantor sets in manifolds