Using basic principles of mechanics of materials to assess earthquake-induced losses of large geographical areas