Using hydroxy carboxylate to synthesize gold nanoparticles in heating and photochemical reactions and their application in textile colouration