Functionalization of mortars for controlling the indoor ambient of buildings