A photochemical method for the preparation of indium oxide and indium–cobalt oxides thin films