Geometry of isothermal and isoconcentration surfaces in thermal turbulence