Thermodynamics of SU(N) Yang-Mills theories in 2+1 dimensions II - The deconfined phase