Tuning of superconducting niobium nitride terahertz metamaterials.