Mechanics of network materials with responsive crosslinks