Tautomerism as primary signalling mechanism in metal sensing: the case of amide group