Simulation and experimental investigations of thermal degradation of polystyrene under femtosecond laser ablation