Metal–organic frameworks for visible light absorption via anion substitution