Japan invents ventilated hats to beat the heat