Optimized Perturbation Theory at Finite Temperature Two-Loop Analysis