Phase behavior and structure transition of the mixed methane and nitrogen hydrates