Percolation of color sources and critical temperature