Reaction mechanism and kinetics for the chemical bath deposition of In(OH)xSy thin films