The so-called Islamic State (IS) has made more than $500m trading oil, with its main customer being the Syrian regime, a US treasury official says.