Random substitutions and fractal percolation