NMR of liquid crystals and micellar solutions