Nuclear shapes and interaction potentials of two colliding208Pb nuclei at finite temperature