Direct Patterning of Perovskite Nanocrystals on Nanophotonic Cavities with Electrohydrodynamic Inkjet Printing.