Precision measurement of two iodine lines at 585 nm and 549 nm