Stress distribution of GaN layer grown on micro-pillar patterned GaN templates