Tandem postsynthetic modification of a metal-organic framework by thermal elimination and subsequent bromination: effects on absorption properties and photoluminescence.