Kinetics and mechanism of reaction between mercuric bromoiodide and silver iodide in solid state