Thermal behavior of brominated and polybrominated compounds I: closed vessel conditions