Elastic bodies with random distribution of microcracks