Wood and paper protection with hybrid inorganic-organic polymers