Electrically modulated nonlinear terahertz metamaterials