Phase transitions induced by femtosecond laser pulses