Encapsulation of pharmaceutical ingredient linker in metal–organic framework: combined experimental and theoretical insight into the drug delivery