Variable stars in the VVV globular clusters