Phase behavior of polystyrene, poly(2,6-dimethyl-1,4-phenylene oxide), and their brominated derivatives