Action has been taken against a company in Staffordshire after one of the country's major rivers was polluted with cyanide.