Factors associated with survival and progression to AIDS before and after the introduction of HAART