Gap opening in single-layer graphene in the presence of periodic scalar and vector potentials within the continuum model