Nonlinear viscoelasticity of freestanding and polymer-anchored vertically aligned carbon nanotube foams