Fast procedure to assess the risk of losses from earthquake in r/c buildings