Indirect determination of mercury(ii) with an air-gap cyanide sensor