Photoelastic-coating analysis in thermal fields