p-energy and p-harmonic functions on Sierpinski gasket type fractals