NMR study of mixed valent compounds SmB6 with La and Yb substitution and CeB6