Elastic properties of transversely isotropic rocks containing aligned cracks and application to anisotropy measurement