Time-series BVi photometry for the globular cluster NGC 6981