Color gradients in four king type globular clusters: NGC 2298, NGC 6402, NGC 6934, and NGC 7089