Nonlinear mechanics of multimaterial thermoviscoelastic architected materials with snap-through instabilities