Inkjet Printed Transition Metal Dichalcogenides And Organohalide Perovskites For Photodetectors And Solar Cells