Phase transitions induced with femtosecond laser pulses