Japanese schools are adopting a heatstroke risk index to protect their students as temperatures soar across the country.