The Monge-Kantorovich problem for distributions and applications