A cerium-based metal–organic framework having inherent oxidase-like activity applicable for colorimetric sensing of biothiols and aerobic oxidation of thiols