Three-dimensional simulation of reservoir temperature and pollutant transport by the lattice Boltzmann method