Ultrafast imaging method to measure surface tension and viscosity of inkjet-printed droplets in flight