Controlling the evolution of frontal photopolymerization waves for 3D polymeric patterning