Chemisorption of iodine on Ag(110): a density-functional theory approach