Stabilizing effect of optimally amplified streaks in parallel wakes