Phase transition in random catalytic networks.