Two anthracene-based metal–organic frameworks for highly effective photodegradation and luminescent detection in water