Risk assessment for the protection against lightning overvoltages