Synthesis and characterization of phenolic resins and their polychelates with 4f block elements thermal ion exchange catalytic and antimicrobial study