Isotropic micellar to lamellar phase transition in lyotropic liquid crystals