The number of people killed in Japan's earthquake has risen to 34 - as 9,000 remain in temporary shelters in searing heat.