Temperature‐mediated phase selection during growth of GaN on (111)A and (1̄1̄1̄)B GaAs substrates