Measurement of instantaneous heat flux flowing into metallic and ceramic combustion chamber walls