Mixed Finite Element Analysis and Topology Optimization of Viscoelastic Devices