Avalanche risk evaluation and protective dam optimal design using extreme value statistics