Three-Dimensional Lattice Kinetic Scheme and its Application to Simulate Incompressible Viscous Thermal Flows