Eckhaus and Benjamin-Feir instabilities near a weakly inverted bifurcation.