Herz type Besov and Triebel-Lizorkin spaces with variable exponent