Japan's large companies have indicated less pessimistic about the economy, a government survey has shown