Heathrow Airport was warned about its power supply in the days before it closed because of a massive outage, British MPs examining the incident have heard.