Evolution of stress in GaN heteroepitaxy on AlN∕Si(111): From hydrostatic compressive to biaxial tensile