Binding of heavy metal ions by chemically modified woods