Luminescent metal–organic frameworks and their potential applications