Investigation of kinetics of the process of formation of gold and silver nanoparticles and composites based on them