Simulation of phase separation with temperature-dependent viscosity using lattice Boltzmann method