Polytype transition of N-face GaN:Mg from wurtzite to zinc-blende