The Yaglom law in the expanding solar wind