Intracavity laser spectroscopic method for determining trace amounts of iodine and barium in water and biological samples