Finite element analysis in heat transfer - basic formulation and linear problems