On-Surface Synthesis of Two-Dimensional Covalent Organic Structures versus Halogen-Bonded Self-Assembly: Competing Formation of Organic Nanoarchitectures.