Simulation of damage and crack propagation in structural materials with the Peridynamics theory