Applications of Proper Orthogonal Decomposition in fluid mechanics and heat transfer problems