Recent Advancements and Applications in 3D Printing of Functional Optics