Japan to set 10,000-spectator cap ahead of Olympics