Extreme heat across the Philippines has forced schools throughout the country to suspend classes or switch to online education.