Learning from Conditional Distributions via Dual Embeddings