Melted chocolate in an American scientist’s pocket in 1946 led to the development of an appliance that changed the way many of us cook our meals today. Percy Spencer, a researcher at Raytheon in Waltham, Mass., was testing communications equipment when he …