Synthesis and characterization of functionally gradient materials obtained by frontal polymerization