On the spreading dimension of percolation and directed percolation clusters