Thermodynamics of SU(N) gauge theories in 2+1 dimensions in the T < T_c regime