Failure strength of brittle materials containing nanovoids