More than 500,000 told to evacuate homes in Japan