U.S., Iran seek common ground against militants, but doubts persist