Time-resolved optical studies, heat dissipation and melting of Ag and Au nanoparticle systems and arrays