Transferring the properties of molecular receptors to the carbon surface in hybrid materials: The crucial role of porous texture