Synthesis, characterization and thermal behaviour of chemically modified Phenolic and substituted Phenolic polymers