Some physical applications of the heat kernel expansion