Antistatic agents containing a metal, silicon, boron or phosphorus