Nuclear magnetic resonance studies of 35Cl, 37Cl, 79Br and 81Br