A character relationship between symmetric group and hyperoctahedral group