U.S. refrains from directly commenting on Japanese officials' visit to war shrine