The study of internal friction in nanocrystalline Ag and Au thin films