Brominated and chlorinated flame retardants