A Galerkin-Characteristic Method for Large-Eddy Simulation of Turbulent Flow and Heat Transfer