Stability of two-dimensional parallel flows for three-dimensional disturbances