Search for additional heavy neutral Higgs and gauge bosons in the ditau final state produced in 36 fb(-1) of pp collisions at root s=13 TeV with the ATLAS detector