An anisotropic Voronoi algorithm for generating polycrystalline microstructures with preferred growth directions