A multifunctional Cd(ii)-based metal–organic framework with amide groups exhibiting luminescence sensing towards multiple substances