Behaviour of piezoelectric quartz crystals in solutions with application to the determination of iodide