Cross-linkable bromo-fluorinated poly(arylene ether ketone)s for photonic device applications.