Iran ‘backs US military contacts’ to fight Islamic State