Sparsistent Learning of Varying-coefficient Models with Structural Changes