ATLAS irradiation studies of n-in-n and p-in-n silicon microstrip detectors