Frequency-dependent ultrasensitive terahertz dynamic modulation at the Dirac point on graphene-based metal and all-dielectric metamaterials