Critical behavior of the Ising and Blume-Capel models on directed two-dimensional small-world networks