Theoretical and experimental study of laser induced damage on GaAs by nanosecond pulsed irradiation