Wave speeds and attenuation of elastic waves in material containing cracks