Preparation, electrical properties and optical characterization of Cd2SnO4 and CdIn2O4 thin films as transparent and conductive coatings