Fine-tuning of the confined space in microporous metal–organic frameworks for efficient mercury removal