Directed and diode percolation