Measurements of Higgs boson production in decays to two tau leptons with the ATLAS detector