Shear-induced instabilities in layered liquids.