An efficient smoothed profile-lattice Boltzmann method for the simulation of forced and natural convection flows in complex geometries