Thermal Hall conductivity in the frustrated pyrochlore magnet Tb2Ti2O7