More than 1,300 flights were cancelled after an overnight fire at a substation cut power to London Heathrow Airport, and to more than 60,000 properties.