The US has carried out air strikes against Iran-linked militia groups in eastern Syria in retaliation for recent attacks on American and coalition personnel in Iraq.