Relation between the Widom line and the dynamic crossover in systems with a liquid-liquid phase transition