Halide ions complex and deprotonate dipicolinamides and isophthalamides: assessment by mass spectrometry and UV-visible spectroscopy.