Relaxation times of kinetically constrained spin models with glassy dynamics