Permanence and extinction of a non-autonomous HIV-1 model with time delays