On the duality between p-modulus and probability measures