By Andrew Mills and Ahmed Elimam
DOHA/DUBAI, July 1 (Reuters) - The U.S. and Iran held technical talks in Doha on Wednesday as they seek to agree on the flow of shipping through the Strait of Hormuz and secure a lasting ceasefire, a source with direct knowledge of the talks and an Iranian official said.