Composition operators and embedding theorems for some function spaces of Dirichlet series