Elastomer with magneto- and electrorheological properties