why did percy spencer invent the microwave