Water orientation in lyotropic phases: An 17O and 2H NMR study