Searches for neutral Higgs bosons in final states with two tau leptons using the CMS detector