Search for heavy resonances decaying to tau lepton pairs in proton-proton collisions at sqrt(s)=13 TeV