Highly exfoliated g-C3N4 as turn OFF-ON (Ag+/CN−) optical sensor and the intermediate (g-C3N4@Ag) for catalytic hydrogenation