Formation of dissipative spatial structures during photolysis of halogen compounds