Inkjet Printing of Functional Materials for Optical and Photonic Applications