An apparatus to measure frictional, anelastic, and viscous behavior in ice at temperate and planetary conditions