Surface temperature measurements during pulsed laser action on metallic and ceramic materials