Molecular dynamics simulations of laser-induced damage of nanostructures and solids