Global asymptotic stability of an SIS epidemic model with variable population size and a delay