Michael Flynn, President Donald Trump's former national security adviser, has confirmed his lobbying firm carried out $530,000 worth of work that may have helped the Turkish government in the run-up to the US election.