Measurement of the Z -> tau tau cross section with the ATLAS detector