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