Japan has endured its hottest summer since records began in 1898, the meteorological agency said Wednesday, during a heatwave