Copper, gold, and platinum under femtosecond irradiation: Results of first-principles calculations