Amidation, Esterification, and Thioesterification of a Carboxyl‐Functionalized Covalent Organic Framework