Solid polymer and metallogel networks based on a fluorene derivative as fluorescent and colourimetric chemosensors for Hg(II)