Elastic anisotropy due to aligned cracks in porous rock