Affine embeddings of Cantor sets and dimension of αβ-sets