Traces and embeddings of anisotropic function spaces