Perturbation theory and non-perturbative renormalization flow in scalar field theory at finite temperature