US captain apologizes for making mistake by entering Iran’s waters