A former Syrian prison chief has been convicted in a landmark torture trial in Los Angeles.