Dirac nodal lines and large spin Hall effect in the 6H -perovskite iridate Ba3TiIr2O9